package com.cyy.cn.mongo;

public class ArrayTest {

    public static void main(String[] args) {
        String code = "104401408003100353.DW104401408003100379.BM104401408003100397";
        String[] codeArray = code.split("\\.");
        System.out.println(codeArray.length);
    }
}
